package com.lswms.modules.lswms.service.recipient;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.lswms.common.page.PageData;
import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.recipient.RecipientsDTO;
import com.lswms.modules.lswms.entity.orders.OrderdetaillistEntity;
import com.lswms.modules.lswms.entity.recipient.RecipientsEntity;

/**
 * ${comments}
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-07-19
 */
public interface RecipientsService extends CrudService<RecipientsEntity, RecipientsDTO> {

	String save1(RecipientsDTO dto);

	String release(List<RecipientsEntity> orderList, String remoteAddr);

	List<RecipientsEntity> getByTray(String tray);

	String savePicklist(List<RecipientsEntity> list);

	String backToStereo(String string);

	String delivery(List<RecipientsEntity> list);

	String valideAndUpdate(RecipientsDTO dto);

	PageData<RecipientsEntity> pageBySql( HttpServletRequest request) throws ParseException;

	String valideAnddelete(Long[] ids);

	List<RecipientsEntity> listBySql(Map<String, Object> params);

}